package main

import (
	"github.com/gin-gonic/gin"
)

type Vector[T comparable] struct {
	data []T
	cap  int64
	size int64
}

func NewVector[T comparable]() *Vector[T] {

	return &Vector[T]{
		data: make([]T, 0),
	}
}

func (this *Vector[T]) PushBack(val T) {

}

func (this *Vector[T]) At(index int) T {
	return this.data[index]
}
func main() {
	// v := NewVector[string]()
	// v.PushBack("hello word")

	server := gin.Default()
	server.GET("/login", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"message": "hello",
		})
	})
	server.Run(":9090")
}
